package org.changneng.framework.frameworkbusiness.dao;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.changneng.framework.frameworkbusiness.entity.Employee;
import org.changneng.framework.frameworkbusiness.entity.EmployeeExample;
import org.springframework.stereotype.Repository;


public interface EmployeeMapper {
    long countByExample(EmployeeExample example);

    int deleteByExample(EmployeeExample example);

    int deleteByPrimaryKey(String empid);

    int insert(Employee record);

    int insertSelective(Employee record);

    List<Employee> selectByExample(EmployeeExample example);

    Employee selectByPrimaryKey(String empid);

    int updateByExampleSelective(@Param("record") Employee record, @Param("example") EmployeeExample example);

    int updateByExample(@Param("record") Employee record, @Param("example") EmployeeExample example);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);

    List<Employee> selectedp(String empid, String deptno, Integer onduty, String hiredate);
}